Copy Files to the Data Collector

This step describes the process for copying the configuration files exported from the device to the data collector. This process is completed for each device individually, one at a time.

You must have administrator access on the data collector.

Caution! If you have multiple data collectors, make sure you are accessing the correct one. The DC Group that appears in the general properties section in the Administration module must match the DC Group to which you are transferring files.

To copy the configuration files that you exported to the data collector, complete the following steps.

  1. In Administration module:

    1. On the toolbar, click Device > Devices.
    2. Click the target device Name to open its Edit page.
    3. In the General Properties, the Management Station IP address must be populated but does not need to be unique for LSYS, VSYS, Context, and VDOM (devices that may have more than one virtual router on a single machine).
    4. In the Log Monitoring section, and select the Enable Log Monitoring check box, if not already selected.
    5. In the Advanced section, and select the Use Batch Config Retrieval check box, if not already selected.
    6. Click Save.

Once this step is completed, IP connectivity to the device is disabled, making connection-based features such as manual retrieval unavailable.

  1. Remember that the files required for the configuration vary according to device type. Be sure to verify the following before continuing to the next step:
    • You copied the correct files for the device type
    • You copied all required files
    • You copied files for a single configuration
    • The copy procedure completed
    • Verify the device ID number
    • Verify that log monitoring and batch config retrieval are enabled on the target device
  2. Access the data collector server CLI.

A file name and directory creation is no longer required. You can import configs from any directory you want. You run the command against the log file you want which can be placed in any directory. They are processed by the device ID number and not the IP address.

  1. At the prompt run the dcImportConfig command as shown in the examples below, replacing <values> with your data.

    The dcImportConfig command will work for importing a config for any batch config-enabled device from any data collector in any DC Group.

    dcImportConfig --id <FireMon Device ID> <config file 1> [<config file 2>...]

Examples:

    dcImportConfig --id 3 config/*

    dcImportConfig --id 3 config_xml interfaces_xml policies_xml route_xml service_xml zones_xml

The dcImportConfig command will automatically begin normalization immediately when run.